tests: Don't skip collection-based summary test
authorMatthew Leeds <matthew.leeds@endlessm.com>
Wed, 23 Jan 2019 00:50:32 +0000 (16:50 -0800)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 11 Feb 2019 00:14:45 +0000 (00:14 +0000)
OSTree's P2P support used to be a compile time option but is now always
enabled. One of the tests was still checking for the old feature flag,
"experimental", which has been renamed to "p2p" and skipping for that
reason. Delete the check so the test always runs.

Closes: #1804
Approved by: pwithnall

tests/test-summary-update.sh

index faa54e38234520a77af90d7cb5c4b564f251b84f..6fb5a4bec3e10219787b4e88a9240fbba425200e 100755 (executable)
@@ -58,12 +58,7 @@ assert_file_has_content summary "^map: {}$"
 
 echo "ok 1 update summary"
 
-# Test again, but with collections enabled in the repository (if supported).
-if ! ostree --version | grep -q -e '- experimental'; then
-    echo "ok 2 # skip No experimental API is compiled in"
-    exit 0
-fi
-
+# Test again, but with collections enabled in the repository.
 cd ${test_tmpdir}
 rm -rf repo
 ostree_repo_init repo --collection-id org.example.Collection1